-
Home
-
OCA para WooCommerce
-
4.0.2 (latest)
-
Code
-
Classes
- Validator
| Total Complexity |
316 |
| Dependencies |
11 |
| Dependents |
2 |
| Total lines |
2,041 |
| Lines of code |
1,055 |
| Logical lines of code |
269 |
| Comment lines |
847 |
| Methods |
97 |
| Properties |
0 |
Methods 97
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| value_to_string() |
A |
49 |
11 |
30 |
| throws() |
S |
54 |
6 |
24 |
| resource() |
S |
57 |
6 |
19 |
| is_countable() |
S |
59 |
6 |
15 |
| starts_with_letter() |
S |
57 |
4 |
18 |
| is_traversable() |
S |
58 |
4 |
17 |
| is_any_of() |
S |
58 |
4 |
15 |
| method_exists() |
S |
63 |
5 |
10 |
| method_not_exists() |
S |
63 |
5 |
10 |
| is_instance_of_any() |
S |
60 |
4 |
14 |
| unique_values() |
S |
59 |
4 |
14 |
| uuid() |
S |
59 |
4 |
14 |
| length_between() |
S |
61 |
4 |
13 |
| count_between() |
S |
61 |
4 |
13 |
| range() |
S |
62 |
4 |
12 |
| integerish() |
S |
64 |
4 |
10 |
| natural() |
S |
64 |
4 |
10 |
| is_array_accessible() |
S |
64 |
4 |
10 |
| is_iterable() |
S |
64 |
4 |
10 |
| alpha() |
S |
59 |
3 |
15 |
| key_exists() |
S |
64 |
4 |
10 |
| key_not_exists() |
S |
64 |
4 |
10 |
| valid_array_key() |
S |
64 |
4 |
10 |
| is_list() |
S |
68 |
4 |
7 |
| is_map() |
S |
64 |
4 |
10 |
| digits() |
S |
60 |
3 |
14 |
| alnum() |
S |
60 |
3 |
14 |
| lower() |
S |
60 |
3 |
14 |
| upper() |
S |
60 |
3 |
14 |
| is_a_of() |
S |
62 |
3 |
12 |
| is_not_a() |
S |
62 |
3 |
12 |
| not_regex() |
S |
62 |
3 |
12 |
| is_instance_of() |
S |
64 |
3 |
11 |
| not_instance_of() |
S |
64 |
3 |
11 |
| eq() |
S |
64 |
3 |
11 |
| same() |
S |
64 |
3 |
11 |
| greater_than() |
S |
64 |
3 |
11 |
| greater_than_eq() |
S |
64 |
3 |
11 |
| less_than() |
S |
64 |
3 |
11 |
| less_than_eq() |
S |
64 |
3 |
11 |
| in_array() |
S |
62 |
3 |
11 |
| contains() |
S |
63 |
3 |
11 |
| not_contains() |
S |
63 |
3 |
11 |
| starts_with() |
S |
63 |
3 |
11 |
| not_starts_with() |
S |
63 |
3 |
11 |
| ends_with() |
S |
63 |
3 |
11 |
| not_ends_with() |
S |
63 |
3 |
11 |
| unicode_letters() |
S |
63 |
3 |
11 |
| length() |
S |
64 |
3 |
11 |
| min_length() |
S |
64 |
3 |
11 |
| max_length() |
S |
64 |
3 |
11 |
| file_exists() |
S |
63 |
3 |
11 |
| file() |
S |
63 |
3 |
11 |
| directory() |
S |
63 |
3 |
11 |
| subclass_of() |
S |
63 |
3 |
11 |
| implements_interface() |
S |
63 |
3 |
11 |
| min_count() |
S |
64 |
3 |
11 |
| max_count() |
S |
64 |
3 |
11 |
| string() |
S |
65 |
3 |
10 |
| integer() |
S |
65 |
3 |
10 |
| float() |
S |
65 |
3 |
10 |
| numeric() |
S |
65 |
3 |
10 |
| boolean() |
S |
65 |
3 |
10 |
| scalar() |
S |
65 |
3 |
10 |
| object() |
S |
65 |
3 |
10 |
| is_callable() |
S |
65 |
3 |
10 |
| is_array() |
S |
65 |
3 |
10 |
| is_empty() |
S |
65 |
3 |
10 |
| not_empty() |
S |
65 |
3 |
10 |
| null() |
S |
65 |
3 |
10 |
| not_null() |
S |
70 |
3 |
7 |
| true() |
S |
65 |
3 |
10 |
| false() |
S |
65 |
3 |
10 |
| not_false() |
S |
70 |
3 |
7 |
| ip() |
S |
64 |
3 |
10 |
| ipv4() |
S |
64 |
3 |
10 |
| ipv6() |
S |
64 |
3 |
10 |
| email() |
S |
64 |
3 |
10 |
| not_eq() |
S |
65 |
3 |
10 |
| not_same() |
S |
65 |
3 |
10 |
| not_whitespace_only() |
S |
65 |
3 |
10 |
| regex() |
S |
64 |
3 |
10 |
| readable() |
S |
65 |
3 |
10 |
| writable() |
S |
65 |
3 |
10 |
| class_exists() |
S |
65 |
3 |
10 |
| interface_exists() |
S |
65 |
3 |
10 |
| property_exists() |
S |
64 |
3 |
10 |
| property_not_exists() |
S |
65 |
3 |
10 |
| strlen() |
S |
65 |
3 |
9 |
| count() |
S |
64 |
2 |
11 |
| type_to_string() |
S |
77 |
2 |
3 |
| string_not_empty() |
S |
75 |
1 |
4 |
| one_of() |
S |
79 |
1 |
3 |
| is_non_empty_list() |
S |
76 |
1 |
4 |
| is_non_empty_map() |
S |
76 |
1 |
4 |
| report_invalid_argument() |
S |
80 |
1 |
3 |
| __construct() |
S |
91 |
1 |
2 |